﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="NewsDetails.ascx.cs" Inherits="GUI.Controls.Detail.NewsDetails" %>
<div class="detail clearfix">
	<div class="info">
		<h2 class="title"><asp:Literal ID="ltrNewsTitle" runat="server"></asp:Literal></h2>
		<asp:PlaceHolder ID="phPhoto" runat="server">
		<div class="label">Photo</div>
		<h2 class="author"><asp:Literal ID="ltrPhoto" runat="server"></asp:Literal></h2>
		</asp:PlaceHolder>
		<asp:PlaceHolder ID="phStylist" runat="server">
		<div class="label">Stylist</div>
		<h2 class="stylist"><asp:Literal ID="ltrStylist" runat="server"></asp:Literal></h2>
		</asp:PlaceHolder>
		<asp:PlaceHolder ID="phMakeup" runat="server">
		<div class="label">Makeup</div>
		<h2 class="makeup"><asp:Literal ID="ltrMakeup" runat="server"></asp:Literal></h2>
		</asp:PlaceHolder>
		<asp:PlaceHolder ID="phModel" runat="server">
		<div class="label">Model</div>
		<h2 class="model"><asp:Literal ID="ltrModel" runat="server"></asp:Literal></h2>
		</asp:PlaceHolder>
		<asp:PlaceHolder ID="phCostume" runat="server">
		<div class="label">Costume</div>
		<h2 class="costune"><asp:Literal ID="ltrCostume" runat="server"></asp:Literal></h2>
		</asp:PlaceHolder>
		<asp:PlaceHolder ID="phLocation" runat="server">
		<div class="label">Location</div>
		<h2 class="location"><asp:Literal ID="ltrLocation" runat="server"></asp:Literal></h2>
		</asp:PlaceHolder>
	</div>
	<div class="sliderwrapper" style="position: relative;">
	    <a href="javascript:void(0)" class="slideleft prev"></a>
	    <a href="javascript:void(0)" class="slideright next"></a>
	    <div class="slider clearfix" id="slides">
		    <div class="slides_container">
		    <asp:Repeater ID="rptSlider" runat="server">
		    <ItemTemplate>
			    <div class="slideritem"><a rel="Gallery" href="<%#Eval("PhotoLocation") %>"><img src="<%#Eval("PhotoLocation") %>" /></a></div>
		    </ItemTemplate>
		    </asp:Repeater>
		    </div>
	    </div>
	</div>
</div>

<script type="text/javascript">
var preloadimgs = new Array(<asp:Repeater ID="rptImagePreload" runat="server"><ItemTemplate>'<%#Eval("PhotoLocation") %>'</ItemTemplate><SeparatorTemplate>,</SeparatorTemplate></asp:Repeater>);
var preloadlinks = new Array(<asp:Repeater ID="rptLink" runat="server"><ItemTemplate>'<%#Eval("PhotoLocation") %>'</ItemTemplate><SeparatorTemplate>,</SeparatorTemplate></asp:Repeater>);
</script>